package com.dxf.securitys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户实体类
 */
@Data
@ApiModel(description = "用户实体类")
public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 *用户主键
	 */
	@ApiModelProperty(value = "用户主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 *用户名
	 */
	@ApiModelProperty(value = "用户名")
	private String name;

	/**
	 *登陆账号
	 */
	@ApiModelProperty(value = "登陆账号")
	private String account;

	/**
	 *登陆密码
	 */
	@ApiModelProperty(value = "登陆密码")
	private String password;

	/**
	 *状态（0：正常 1：禁用）
	 */
	@ApiModelProperty(value = "状态（0：正常 1：禁用）")
	private Integer status;


}



